package com.zbkj.common.request.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @Auther:
 * @Date: 2024/9/15 19:08
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OrderPayVoucheSaveRequest对象", description = "订单支付凭证保存请求对象")
public class OrderPayVoucheSaveRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单流水号")
    @NotBlank(message = "订单流水号不能为空")
    private String orderNo;

    @ApiModelProperty("转账凭证图片url集合")
    @NotEmpty(message = "转账凭证不能为空")
    List<String> payVouchesList;

}
